package sctu.edu.java.year2016.team01.xuhanmei.day20160524.practice4;

/**
 * Created by Administrator on 2016/5/24.
 */
public class Sub0 {
    public static void main(String[] args) {
        String s1 = "int";
        String s2 = "ser";


        StringBuilder builder = new StringBuilder(s1);//创建初值为“int”的字符串


        builder.insert(2, s2);//从第二个字符开始追加s2
        System.out.println("追加后的值是；" + builder);
    }
}
